program="libBlocksRuntime"
version="0.1"
abi_major="0"
abi_minor="0"
abi_version="$abi_major.$abi_minor"
cflags="-DBlocksRuntime_EXPORTS -fPIC -std=c99 -Wall -Wextra -W -pedantic -Wno-unused-parameter"
ldflags=""
sources="runtime.c data.c"
libdepends=""
deps=""
mans=""
headers="Block.h Block_private.h"
extra_dist=""
subdirs=""

# Package metadata
pkg_summary="Blocks Runtime library"
pkg_description="Blocks Runtime library"
license="LLVM"
author="LLVM Development Team"

pre_configure_hook() {
    return
}

post_configure_hook() {
  # FIXME - Need to compile a test program to confirm these are available
  echo "
#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT 1
#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG 1" >> config.h
}
